<?php

namespace App\Nhzlc;
use \GatewayWorker\Lib\Gateway;

class User
{
    public static function login($client_id,$message_data)
    {
        print_r([$client_id,'登陆']);
        return Gateway::sendToCurrentClient(json_encode($message_data));
    }

    public static function register($client_id,$message_data)
    {
        print_r([$client_id,'注册']);
        return Gateway::sendToCurrentClient(json_encode($message_data));
    }

}
